﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DecoratorCoffice
{
    class  Mocha:Burden
    {
        public Mocha(Beverage beverage) : base(beverage)
        {
        }
        public override string GetDescription()
        {
            this.AddMocha();
            return base.GetDescription() + ",摩卡";

        }
        public string AddMocha()
        {
            return  "摩卡" ;
        }
        public override int GetCost()
        {
            this.AddMocha();
            return 10 + base.GetCost();

        }
        public int AddMochaCost()
        {
            return 10;
        }
    }
}

